import { createRouter, createWebHistory, RouteRecordRaw } from "vue-router";

const routes: Array<RouteRecordRaw> = [
  {
    path: "/",
    name: "index",
    component: () => import("../views/index.vue"),
  },
  {
    path: "/layout",
    name: "layout",
    component: () => import("../views/layout.vue"),
  },
  {
    path: "/h0",
    name: "h0",
    component: () => import("../views/Conventionalpage/h0.vue"),
  },
  {
    path: "/h1",
    name: "h1",
    component: () => import("../views/Conventionalpage/h1.vue"),
  },
  {
    path: "/h2",
    name: "h2",
    component: () => import("../views/Conventionalpage/h2.vue"),
  },
  {
    path: "/h3",
    name: "h3",
    component: () => import("../views/Conventionalpage/h3.vue"),
  },
  {
    path: "/h4",
    name: "h4",
    component: () => import("../views/Conventionalpage/h4.vue"),
  },
  {
    path: "/list",
    name: "list",
    component: () => import("../views/list.vue"),
  },
];

const router = createRouter({
  history: createWebHistory(process.env.BASE_URL),
  routes,
});

export default router;
